﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MainMaster.Master" AutoEventWireup="true" CodeBehind="pGioHang.aspx.cs" Inherits="QLVMBAY.Pages.pGioHang" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolderMain" runat="server">
<div class="navigate-base" style="min-height:700px">
<div class="title_menu" style="margin-bottom:3px;">
    <asp:Label ID="lblTitle" runat="server" Text="Thông tin lịch sử đặt vé"></asp:Label>
</div>
    <asp:GridView ID="grdDS" runat="server" CssClass="grid-view" 
        AutoGenerateColumns="False" onrowcommand="grdDS_RowCommand" 
        onrowdatabound="grdDS_RowDataBound">
     <Columns>
            <asp:BoundField HeaderText="Mã vé" DataField="MaVe"  />
            <asp:BoundField DataField="TrangThai" HeaderText="" Visible="false" />
            <asp:BoundField DataField="LoaiVe" HeaderText="Vé" />
            <asp:BoundField DataField="SoLuong" HeaderText="Số lượng" />
            <asp:BoundField DataField="TongTien" HeaderText="Tổng tiền" Visible="False" />
            <asp:TemplateField HeaderText="Tổng tiền">
            <ItemTemplate>
                <asp:Label ID="lblTongTien" runat="server" Text=""></asp:Label>
            </ItemTemplate>
            </asp:TemplateField>
             <asp:TemplateField HeaderText="Trạng thái">
            <ItemTemplate>            
                <asp:Label ID="lblTrangThai" runat="server" Text=""></asp:Label>
            </ItemTemplate>
            </asp:TemplateField>
            <asp:CommandField SelectText="Hủy vé" ShowSelectButton="True" />
        </Columns>        
    </asp:GridView>
    <asp:Panel ID="pnHuy" runat="server">
    
    <div class="title_menu" style="margin-bottom:3px;">
    <asp:Label ID="Label1" runat="server" Text="Thông tin hủy vé"></asp:Label>
    </div>
    <table>
    <tr>
    <td style="text-align: left">Mã vé</td><td style="text-align: left">
        <asp:Label ID="lblMaVe" runat="server" Text=""></asp:Label></td>
    </tr>
    <tr><td style="text-align: left">Phí hủy</td><td style="text-align: left">
        <asp:Label ID="lblPhiHuy" runat="server" Text=""></asp:Label>
        <asp:Label ID="lblHuy" runat="server" Visible="False"></asp:Label></td></tr>
        <tr><td>&nbsp;</td><td style="text-align: left"> 
            <asp:Button ID="btnHuy" runat="server" Text="Hủy vé" onclick="btnHuy_Click" />
            </td></tr>
        <tr>
            <td style="height: 30px">
            </td>
            <td style="text-align: left; height: 30px">
                &nbsp;</td>
        </tr>
        <tr>
            <td>
                &nbsp;</td>
            <td>
                &nbsp;</td>
        </tr>
    </table>
    </asp:Panel> 

</div>
</asp:Content>
